import { defineStore } from "pinia";
import { ref } from "vue";
const useThemeStore = defineStore("theme", () => {
  const dark = ref(true);
  const changeTheme = () => {
    dark.value = !dark.value;
  };
  return {
    dark,
    changeTheme,
  };
});
export { useThemeStore };
